import { Module } from '@nestjs/common'
import { TypeOrmModule } from '@nestjs/typeorm'
import { WheelRecordController } from './admin.controller'
import { WheelRecord } from './entities/wheel-record.entity'
import { WebWheelRecordController } from './web.controller'
import { WheelRecordService } from './wheel-record.service'

@Module({
  imports: [TypeOrmModule.forFeature([WheelRecord])],
  controllers: [WheelRecordController, WebWheelRecordController],
  providers: [WheelRecordService],
  exports: [WheelRecordService],
})
export class WheelRecordModule {}
